<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"></head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>{$lang.setting_title}</title>
	<link href="{$root_url}/install/styles/general.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="{$root_url}/js/transport.js"></script>
	<script type="text/javascript" src="{$root_url}/install/js/common.js"></script>
	<script type="text/javascript" src="{$root_url}/install/js/draggable.js"></script>
	<script type="text/javascript" scr="{$root_url}/install/js/setting.js"></script>
	<script type="text/javascript">
		var $_LANG = {};
		{foreach from=$lang.js_languages key=name item=value}
			$_LANG['{$name}'] = '{$value}';
		{/foreach}
	</script>
</head><body id="checking">
	{include file="header.tpl"}
	<form id="js-setting">
	<div id="wrapper">
		<h3>{$lang.db_account}</h3>
		<table width="450" class="list"><tr>
			<td width="90" align="left">{$lang.db_host}</td>
			<td align="left"><input type="text" name="js-db-host" value="localhost" /></td>
		</tr><tr>
			<td width="90" align="left">{$lang.db_port}</td>
			<td align="left"><input type="text" name="js-db-port" value="3306" /></td>
		</tr><tr>
			<td width="90" align="left">{$lang.db_user}</td>
			<td align="left"><input type="text" name="js-db-user" value="root" /></td>
		</tr><tr>
			<td width="90" align="left">{$lang.db_pass}</td>
			<td align="left"><input type="password" name="js-db-pass" value="" /></td>
		</tr><tr>
			<td width="90" align="left">{$lang.db_name}</td>
			<td align="left"><input type="text" name="js-db-name" value="" />
			<select name="js-db-list">
				<option>{$lang.db_list}</option>
			</select>
			<input type="button" name="js-go" class="button" value="{$lang.go}" /></td>
		</tr><tr>
			<td width="30" align="left">{$lang.db_prefix}</td>
			<td align="left"><input type="text" name="js-db-prefix" value="wp_" />
			<span class="comment">&nbsp; ({$lang.change_prefix})</span></td>
		</tr><tr></table>

		<h3>{$lang.admin_account}</h3>
		<table width="450" class="list"><tr>
			<td width="90" align="left">{$lang.admin_name}</td>
			<td align="left"><input type="text" name="js-admin-name" value="" /></td>
		</tr><tr>
			<td width="90" align="left">{$lang.admin_password}</td>
			<td align="left"><input type="password" name="js-admin-password" value="" />
				<span id="js-admin-password-result"></span>
			</td>
		</tr><tr>
			<td width="90" align="left">{$lang.password_intensity}</td>
			<td align="left"><table width="132" cellspacing="0" cellpadding="1" border="0">
				<tbody><tr align="center">
					<td width="33%" id="pwd_lower" style="border-bottom:2px solid red;">
						{$lang.pwd_lowr}
					</td>
					<td width="33%" id="pwd_middle" style="border-bottom:2px solid rgb(218,218,218);">
						{$lang.pwd_middle}
					</td>
					<td width="33%" id="pwd_high" style="border-bottom:2px solid rgb(218,218,218);">
						{$lang.pwd_high}
					</td>
				</tr></tbody>
			</table></td>
		</tr><tr>
			<td width="90" align="left">{$lang.admin_password2}</td>
			<td align="left"><input type="password" name="js-admin-password2" value="" />
				<span id="js-admin-confirmpassword-result"></span>
			</td>
		</tr><tr>
			<td width="90" align="left">{$lang.admin_email}</td>
			<td align="left"><input type="text" name="js-admin-email" value="" /></td>
		</tr></table>
	</div>

	<div id="install-btn">
		<input type="button" id="js-pre-step" class="button" value="{$lang.prev_step}{$lang.check_system_environment}" />
		<input type="submit" id="js-install-at-once" class="button" value="{$lang.install_at_once}" />
	</div>
	<div id="footer">
		{include file="footer.tpl"}
	</div></form>
</body></html>
